<?php
/**
 * Created by PhpStorm.
 * Author: ExtraXue
 * Date: 2018/5/4
 * Description:
 */
?>
<?php
require_once ('control/pdo.php');
session_start();

$uid=$_GET['uid'];
$sqlGetNewsInfo="select * from news_info a where a.uid='{$uid}'";
$rsGetNewsInfo=$pdo->query($sqlGetNewsInfo);
$resultGetNewsInfo=$rsGetNewsInfo->fetch(PDO::FETCH_ASSOC);

?>
<!DOCTYPE html>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <meta name="filetype" content="0">
    <meta name="publishedtype" content="1">
    <meta name="pagetype" content="2">
    <meta name="catalogs" content="dangjian_0">
    <link rel="shortcut icon" href="http://archive.wenming.cn/jingtai/dangjian/images/favicon.ico" type="image/x-icon">
    <title>党建网</title>
    <link rel="stylesheet" href="./css/master2016.css">
    <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="./css/index-dj20171213.css">
    <link rel="stylesheet" href="./css/admin.css">
    <link rel="stylesheet" href="css/article.css">
    <script src="control/js/jquery.js"></script>
    <script src="control/js/pintuer.js"></script>
    <script type="text/javascript" src="./css/jquery-1.9.1.min.js"></script>
    <script src="./css/jquery.superslide.tab.2.1.1.js" type="text/javascript"></script>


    <script>
        //顶部文字专题滚动
        function b() {
            t = parseInt(x.css('top'));
            y.css('top', '19px');
            x.animate({top: t - 19 + 'px'}, 'slow');	//19为每个li的高度
            if (Math.abs(t) == h - 19) { //19为每个li的高度
                y.animate({top: '0px'}, 'slow');
                z = x;
                x = y;
                y = z;
            }
            setTimeout(b, 10000);//滚动间隔时间 现在是10秒
        }

        $(document).ready(function () {
            $('.swap').html($('.news_li').html());
            x = $('.news_li');
            y = $('.swap');
            h = $('.news_li li').length * 38; //19为每个li的高度
            setTimeout(b, 10000);//滚动间隔时间 现在是10秒

        })
    </script>
</head>
<body  style="overflow-x:hidden;background: white;">
<div class="dj" style="padding: 0; width: 1020px; height: 154px;">
    <div class="inner">
        <div class="header">
            <div class="header-left">
                <a href="index.php"><img style="padding-bottom: 50px;" src="./icons/symbol.png"></a>
            </div>
            <div class="header-right">
                <div class="header-top">
                    <div class="header-pic1">

                        <div class="foucua01">
                            <ul class="slides_item01" style="position: relative; width: 560px; height: 93px;">

                                <li style="position: absolute; width: 560px; left: 0px; top: 0px; display: none;">
                                    <a href="http://www.dangjian.cn/djw2016sy/djw2016dtztc/201604/t20160426_3318886.shtml"
                                       target="_blank"><img src="./css/W020161124384578401337.png" alt="banner1-1.png"
                                                            title="" width="560" height="85"></a></li>
                                <li style="position: absolute; width: 560px; left: 0px; top: 0px;">
                                    <a href="http://dangjian.com/jrrd/xwmt/201505/t20150505_2595699.shtml"
                                       target="_blank"><img src="./css/W020161124385045731082.png" alt="banner1-4.png"
                                                            title="" width="560" height="85"></a></li>
                                <li style="position: absolute; width: 560px; left: 0px; top: 0px; display: none;">
                                    <a href="http://www.dangjian.cn/djw2016sy/djw2016dtztc/201604/t20160426_3318882.shtml"
                                       target="_blank"><img src="./css/W020161124384501294075.png" alt="banner1-5.png"
                                                            title="" width="560" height="85"></a></li>
                            </ul>
                            <div class="num" style="display:none">
                                <li class="">1</li>
                                <li class="on">2</li>
                                <li>3</li>
                            </div>
                        </div>

                    </div>
                    <div class="header-pic2">
                        <li><a href="http://jhsjk.people.cn/" target="_blank"><img
                                        src="./css/W020180202571094726487.jpg" alt="1.jpg" title="" width="265"
                                        height="85"></a></li>
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="header-bottom">
                    <div class="date">
                        <div class="date" id="localtime"></div>

                        <script type="text/javascript">

                            function showLocale(objD) {
                                var str, colorhead, colorfoot;
                                var yy = objD.getYear();
                                if (yy < 1900) yy = yy + 1900;
                                var MM = objD.getMonth() + 1;
                                if (MM < 10) MM = '0' + MM;
                                var dd = objD.getDate();
                                if (dd < 10) dd = '0' + dd;
                                var hh = objD.getHours();
                                if (hh < 10) hh = '0' + hh;
                                var mm = objD.getMinutes();
                                if (mm < 10) mm = '0' + mm;
                                var ss = objD.getSeconds();
                                if (ss < 10) ss = '0' + ss;
                                var ww = objD.getDay();
                                if (ww == 0) colorhead = "<font color=\"#777\">";
                                if (ww > 0 && ww < 6) colorhead = "<font color=\"#777\">";
                                if (ww == 6) colorhead = "<font color=\"#777\">";
                                if (ww == 0) ww = "星期日";
                                if (ww == 1) ww = "星期一";
                                if (ww == 2) ww = "星期二";
                                if (ww == 3) ww = "星期三";
                                if (ww == 4) ww = "星期四";
                                if (ww == 5) ww = "星期五";
                                if (ww == 6) ww = "星期六";
                                colorfoot = "</font>"
                                str = colorhead + yy + "-" + MM + "-" + dd + " " + "  " + ww + colorfoot;
                                return (str);
                            }

                            function tick() {
                                var today;
                                today = new Date();
                                document.getElementById("localtime").innerHTML = showLocale(today);
                                window.setTimeout("tick()", 1000);
                            }

                            tick();
                        </script>
                    </div>
                    <div class="clear"></div>
                </div>
            </div>
            <div class="clear"></div>
        </div>
    </div>
</div>

<div class="nav" style="width: 100%;">
    <div class="inner" >
        <ul style="margin-bottom: 0rem;">
            <li class=""><a href="index.php" target="_self">返回首页</a></li>
            <!--<li class="nav1"><a href="articlelist.html" target="context_inner">部门概况</a></li>-->
            <!--<li class="nav1"><a href="article.php" target="context_inner">通知公告</a></li>-->
            <!--<li class="nav1"><a href="#" target="context_inner">党建工作</a></li>-->
            <!--<li class="nav1"><a href="#" target="context_inner">干部工作</a></li>-->
            <!--<li class="nav1"><a href="#" target="context_inner">人才工作</a></li>-->
            <!--<li class="nav1"><a href="#" target="context_inner">党校工作</a></li>-->
            <div class="clear"></div>
        </ul>
    </div>
</div>

<style>
    .article_inner_title li{
        font-size: 14px;
    }
</style>

<div class="article_conetext_inner" style="width: 1020px; padding: 8px 30px">
        <div class="article_inner">
            <div style="padding-top:10px;"></div>
            <div class="article_inner_title" >
                <li>当前位置：</li>
                <li><a href="index.php" target="_parent">主页</a></li>
                <li>&nbsp>&nbsp</li>
                <li class="active"><?php echo "$resultGetNewsInfo[news_type]"?></li>
            </div>
            <div class="clear"></div>
            <!--正文部分begin-->
            <div class="article_inner_left">
                <div class="context-title" id="title_tex"><?php echo "$resultGetNewsInfo[news_title]"?></div>
                <div class="box">
                    <div class="ly" style="font-size: 14px;color: #777777">
                        <span id="time_tex">发表时间：<?php echo "$resultGetNewsInfo[change_time]"?></span>&nbsp;&nbsp;&nbsp;
                        <span id="time_ly">作者：<?php echo "$resultGetNewsInfo[news_author]"?></span>
                    </div>
                    <div class="dy" style="font-size: 14px;color: #777777"">
                        <span>[<a class="win-print icon-print">打印</a>]</span>
                        <span>[<a href="javascript:close();">关闭</a>]</span>
                    </div>
                    <div style="height: 20px;"></div>
                    <div class="lx-box1">
                        <div id="tex">
                            <?php
                            echo "$resultGetNewsInfo[news_content]";
                            ?>
                        </div>
                    </div>

                    <div class="clear"></div>
                </div>
            </div>

            <!--正文部分end-->
            <div class="article_inner_right">
                <div class="article_inner_right_top">
                    <a href="#">宣传栏</a>
                </div>

                <div class="clear"></div>

                <div class="article_inner_right_top_line1">
                </div>
                <div class="article_inner_right_top_line2">
                </div>
                <div class="clear"></div>

                <div class="article_inner_right_main_longbox">
                    <div class="img">

                        <a href="http://dangjian.com/djw2016sy/djw2016sydjds/ds2016sbgd/201802/t20180211_4589782.shtml" target="_blank"><img src="css/sbgd.jpg" alt="2.jpg" title=""></a>

                    </div>
                    <div class="lx-p">
                        <a href="http://dangjian.com/djw2016sy/djw2016sydjds/ds2016sbgd/" target="_blank">身<br>边<br>感<br>动</a>
                    </div>
                </div>

                <div class="article_inner_right_main_longbox">
                    <div class="img">

                        <a href="http://dangjian.com/djw2016sy/djw2016sydjds/ds2016whdg/201803/t20180316_4623575.shtml" target="_blank"><img src="css/whdg.jpg" alt="555.jpg" title=""></a>

                    </div>
                    <div class="lx-p"><a href="http://dangjian.com/djw2016sy/djw2016sydjds/ds2016whdg/" target="_blank">文<br>化<br>大<br>观</a></div>
                </div>
                <div class="article_inner_right_main_shortbox">
                    <div class="img">
                        <a href="http://dangjian.com/specials/xxjd/" target="_blank">
                            <img src="css/lxyz.png">
                        </a>
                    </div>
                    <div style="height: 10px;"></div>
                    <p><a href="http://dangjian.com/djw2016sy/djw2016wkztl/wkztl2016lxyz/" target="_blank">两学一做</a></p>
                </div>

                <div class="article_inner_right_main_shortbox">
                    <div class="img">
                        <a href="http://dangjian.com/djw2016sy/djw2016wkztl/wkztl2016dzdg/" target="_blank">
                            <img src="css/dzdg.png">
                        </a>
                    </div>
                    <p><a href="http://dangjian.com/djw2016sy/djw2016wkztl/wkztl2016dzdg/" target="_blank">党章党规</a></p>
                </div>

                <div class="clear"></div>


                <div class="article_inner_right_main_shortbox">
                    <div class="img">
                        <a href="http://dangjian.com/djw2016sy/djw2016wkztl/sanxin/" target="_blank">
                            <img src="css/xlnxzl.png">
                        </a>
                        <p><a href="http://dangjian.com/djw2016sy/djw2016wkztl/sanxin/" target="_blank">新理念新思想<br>新战略</a></p>                    </div>

                </div>

                <div class="article_inner_right_main_shortbox">
                    <div class="img">
                        <a href="http://dangjian.com/specials/xxjd/" target="_blank">
                            <img src="css/xxdj.png">
                        </a>
                    </div>
                    <p> <a href="http://dangjian.com/specials/xxjd/" target="_blank">学习经典</a></p>

                </div>

            </div>


        </div>


</div>

<div class="clear"></div>
<div class="footer" >
    <div class="inner">
        <div class="gywm">关于我们</div>
        <ul class="gywm1">
            <li class="lxwm">
                <h4><a href="http://www.dangjian.com/syzh/gywm/201107/t20110727_261695.shtml" target="_blank">联系我们</a>
                </h4>
                <p>地址：江西省南昌市东华理工大学南昌校区<br>邮编：330000 (函件)<br>热线电话：123456</p>
            </li>
            <li class="zx ml80" style="padding-left: 520px;">
                <ul>
                    <li>
                        <div class="zx1"></div>
                        <a href="http://www.dangjian.cn/syzh/xglj/zxdy/201608/t20160824_3622450.shtml">在线订阅</a></li>
                    <li class="mt13">
                        <div class="zx2"></div>
                        <a href="mailto:howardxue123@foxmail.com">在线投稿</a></li>
                    <li class="mt13">
                        <div class="zx3"></div>
                        <a href="mailto:howardxue123@foxmail.com">电子邮件</a></li>
                </ul>
            </li>

            <div class="clear"></div>
        </ul>
    </div>

</div>

<script>
    $(function () {
        $(".foucua01").slide({
            titCell: ".num",
            mainCell: ".slides_item01",
            effect: "fold",
            autoPlay: true,
            delayTime: 1000,
            autoPage: true,
            interTime: 5000
        });
        //delayTime:效果速度//effect：效果的展现形式


        //时代先锋
        var num = $('.box-pic').size();
        $('.wrap').width(62 * num + 8 * (num - 1));
        var a = 0;
        $('.btn').click(function () {
            var index1 = $(this).index('.btn');
            if (index1 == 0) {
                a--;
                if (a <= 0) {
                    a = 0;
                }
                $('.wrap').animate({left: -a * 70 * 2}, 500)
            } else if (index1 == 1) {
                a++;
                if (a >= (num - 4) / 2) {
                    a = (num - 4) / 2;
                }
                $('.wrap').animate({left: -a * 70 * 2}, 500)
            }
        })
    });

</script>


<!--<script type="text/javascript">-->
    <!--// 顶部及大图轮播-->
    <!--/*鼠标移过，左右按钮显示*/-->
    <!--$(".foucua02").hover(function () {-->
        <!--$(this).find(".prev,.next").fadeTo("show", 0.1);-->
    <!--}, function () {-->
        <!--$(this).find(".prev,.next").hide();-->
    <!--})-->
    <!--/*鼠标移过某个按钮 高亮显示*/-->

    <!--$(".prev,.next").hover(function () {-->
        <!--$(this).fadeTo("show", 0.7);-->

    <!--}, function () {-->
        <!--$(this).fadeTo("show", 0.1);-->
    <!--})-->
    <!--$(".foucua01").slide({-->
        <!--titCell: ".num ul",-->
        <!--mainCell: ".slides_item",-->
        <!--effect: "fold",-->
        <!--autoPlay: true,-->
        <!--delayTime: 1000,-->
        <!--autoPage: true,-->
        <!--interTime: 6000-->
    <!--});//如果不输出数字autoPage:"<li><a></a></li>"-->
    <!--$(".foucua02").slide({-->
        <!--titCell: ".num01 ul",-->
        <!--mainCell: ".slides_item",-->
        <!--effect: "fold",-->
        <!--autoPlay: true,-->
        <!--delayTime: 0,-->
        <!--autoPage: true,-->
        <!--interTime: 5000-->
    <!--});//delayTime:效果速度//effect：效果的展现形式-->
    <!--$(".image-show").hide();-->


    <!--window.onload = window.onresize = window.onscroll = function () {-->
        <!--var oBox = document.getElementById("menu");-->
        <!--var oBox01 = document.getElementById("menu01");-->
        <!--var iScrollTop = document.documentElement.scrollTop || document.body.scrollTop;-->
        <!--setTimeout(function () {-->
            <!--clearInterval(oBox.timer);-->
            <!--var iTop = parseInt((document.documentElement.clientHeight - oBox.offsetHeight) / 2) + iScrollTop + 50;-->
            <!--oBox.timer = setInterval(function () {-->
                <!--var iSpeed = (iTop - oBox.offsetTop) / 8;-->
                <!--iSpeed = iSpeed > 0 ? Math.ceil(iSpeed) : Math.floor(iSpeed);-->
                <!--oBox.offsetTop == iTop ? clearInterval(oBox.timer) : (oBox.style.top = oBox.offsetTop + iSpeed + "px");-->
            <!--}, 30)-->
        <!--}, 100)-->


        <!--setTimeout(function () {-->
            <!--clearInterval(oBox01.timer01);-->
            <!--var iTop = parseInt((document.documentElement.clientHeight - oBox01.offsetHeight) / 2) + iScrollTop + 50;-->
            <!--oBox01.timer01 = setInterval(function () {-->
                <!--var iSpeed = (iTop - oBox01.offsetTop) / 8;-->
                <!--iSpeed = iSpeed > 0 ? Math.ceil(iSpeed) : Math.floor(iSpeed);-->
                <!--oBox01.offsetTop == iTop ? clearInterval(oBox01.timer01) : (oBox01.style.top = oBox01.offsetTop + iSpeed + "px");-->
            <!--}, 30)-->
        <!--}, 100)-->

    <!--};-->
<!--</script>-->


</body>
</html>
